<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>首页-{$setting.site_name}</title>
<link rel="stylesheet" href="__HOME_CSS__/default/css/css.css">
<script src="__HOME_JS__/js/jquery.js"></script>
<script src="__HOME_JS__/js/jquery.SuperSlide.2.1.1.js"></script>

</head>
<if condition="$curr eq 'reg'">
	<body class="bdbg" style="background-position:0 206px;">
<elseif condition="$curr eq 'forget'"/>
	<body class="bdbg">
<else/>
	<body>
</if>
    <script type="text/javascript">
		$(function(){

			setInterval(function() {
		 
				 var date =new Date();
				 
				 var s=date.getSeconds();
				 var y=date.getFullYear();
				 var m=date.getMonth()+1;
				 var d=date.getDate();
				 var h=date.getHours();
				 var i=date.getMinutes();
				 if(m<10)
					 m = "0" + m;
					 else{
					 m = m;
					 }
				 if(i<10)
					 i = "0" + i;
					 else{
					 i = i;
					 }
				 if(s<10)
					 s = "0" + s;
					 else{
					 s = s;
					 }
				 if(h<10)
					 h = "0" + h;
					 else{
					 h = h;
					 }
				 var now=y +"-" + m + "-" + d +" "+ h +":"+ i +":" + s;	
			    //var now = (new Date()).toLocaleString();
			    $('#current-time').text(now);
			}, 500);
		})
    </script>

<div id="topbar">
  <div class="w1018">
    <div class="tb-welcome"><span id="current-time"><?php echo date('Y-m-d H:i:s')?></span> 营业时间：白天07:30 - 凌晨04:00 / 全年无休</div>
    <div class="tb-form">
      <ul>
	<?php if($_SESSION['member_id']>0){?>
	  
		<p><span class="item"> <?php echo $_SESSION['member_name'];?></span><span class="item"><a style="color:#fff6a0;"href="<?php echo U('Home/Member/index')?>">进入游戏</a></span><span class="item"><a href="<?php echo U('Home/Login/logout')?>">退出</a></span></p>
	<?php }else{?>
        <p>
        <span class="item"><a href="<?php echo U('Home/Login/index')?>">登录</a></span>
	</p>
        <!-- <li>
          <input type="button" value="试玩" class="btn red">
        </li> -->
		<?php }?>
      </ul>
    </div>
  </div>
</div>
<div id="header">
  <div class="w1018">
    <div class="logo"><a href="/">{$setting.site_name}</a></div>
    <div class="link">
      <ul>
        <li class="fl"><a href="#"><i class="icon-sw"></i><span><strong>立即试玩</strong>Instant Demo</span></a></li>
        <li class="fl"><a href="#"><i class="icon-dy"></i><span><strong>彩种多样化</strong>Diversification</span></a></li>
        <li class="fr"><a href="{:U('Register/reg')}"><i class="icon-zc"></i><span><strong>立即注册</strong>Register now</span></a></li>
        <li class="fr"><a href="http://chat7.livechatvalue.com/chat/chatClient/chatbox.jsp?companyID=839585&configID=58043&jid=7060780367" target="_blank"><i class="icon-kf"></i><span><strong>在线客服</strong>Online Service</span></a></li>
      </ul>
    </div>
    <div class="nav">
      <ul>
        <li class="fl <?php if($curr=='index'){?> on <?php }?>"><a href="/">网站首页</a></li>
        <li class="fl <?php if($curr=='reg'){?>on<?php }?>" ><a href="{:U('Register/reg')}">开户注册</a></li>
        <li class="fl hot <?php if($curr=='huodong'){?> on <?php }?>"><a href="<?php echo U('Home/Index/huodong')?>">优惠活动</a><i class="icon-hot"></i></li>
        <li class="fr <?php if($curr=='mobile'){?> on <?php }?>"><a href="<?php echo U('Home/Index/Mobile')?>">手机投注</a></li>
        <li class="fr <?php if($curr=='problem'){?>on<?php }?>"><a href="<?php echo U('Home/Index/problem')?>">常见问题</a></li>
       <!--  <li class="fr"><a href="<?php echo U('Home/Member/index')?>">存款取款</a></li> -->
        <li class="fr"><a href="/index.php/member/?page=deposit#">存款取款</a></li>
      </ul>
    </div>
  </div>
</div><!--header end-->

<script language="javascript" src="http://chat7.livechatvalue.com/chat/chatClient/monitor.js?jid=7060780367&companyID=839585&configID=58042&codeType=custom"></script>
